package cn.edu.cdtu.healthserver.service.impl;

import java.util.List;

import cn.edu.cdtu.healthserver.dao.InternetHealthNewsDao;
import cn.edu.cdtu.healthserver.dao.impl.InternetHealthNewsDaoImplementation;
import cn.edu.cdtu.healthserver.domain.NewsFromInternet;
import cn.edu.cdtu.healthserver.service.InternetHealthNewsService;

public class InternetHealthNewsServiceImplementation implements InternetHealthNewsService 
{
	InternetHealthNewsDao internetHealthNewsDao=new InternetHealthNewsDaoImplementation();
	public boolean addInternetNews(NewsFromInternet news) 
	{
		return internetHealthNewsDao.addNews(news);
	}
	
	public List<NewsFromInternet> queryInternetNews() 
	{
		return internetHealthNewsDao.queryNews();
	}
}
